﻿using System;
using System.Collections.Generic;

namespace Platform.Data.Entities.SqlServer;

public partial class SysDept
{
    /// <summary>
    /// 所属机构id
    /// </summary>
    public string OrgId { get; set; } = null!;

    /// <summary>
    /// 上级部门id
    /// </summary>
    public string ParentId { get; set; } = null!;

    /// <summary>
    /// 部门id
    /// </summary>
    public string DeptId { get; set; } = null!;

    /// <summary>
    /// 树节点导航路径
    /// </summary>
    public string DeptPath { get; set; } = null!;

    /// <summary>
    /// 部门名称
    /// </summary>
    public string DeptName { get; set; } = null!;

    /// <summary>
    /// 部门描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 排序字段
    /// </summary>
    public int? Ordinal { get; set; }

    /// <summary>
    /// 部门负责人
    /// </summary>
    public string? Director { get; set; }

    public bool Enabled { get; set; }
}
